/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.core.validate.AddGroup;
import com.comac.ins.common.core.validate.EditGroup;
import com.comac.ins.common.mybatis.core.domain.BaseEntity;
import com.comac.ins.isfd.domain.IsfdDatabaseDataImportRecord;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 第三方数据导入实体类
 *
 * @author Lion Li
 * @date 2024-12-06
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = IsfdDatabaseDataImportRecord.class, reverseConvertGenerate = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class IsfdThirPartyDataImportBo extends BaseEntity {

    /**
     * 表名
     */
    @NotNull(message = "modelId不能为空", groups = { AddGroup.class })
    private Long modelId;

    /**
     * 数据实体列表
     */
    @NotNull(message = "entityListJson不能为空", groups = { AddGroup.class })
    private List<Map<String,Object  >> entityListJson;
}
